import React, { Component } from 'react'
import HomeBanner from './HomeBanner'
import HomeInfo from './HomeInfo'

export default class Home extends Component {
  constructor(props) {
    super(props)
    this.state = {}
  }
  
  render() {
    const { name, age} = this.props
    
    return (
      <div>
        <h4>Home: {name}-{age}</h4>
        <HomeInfo/>
        <HomeBanner/>
      </div>
    )
  }
}
